import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  // 修改端口，需要设置host: '0.0.0.0' 允许外部访问
  server: {
    port: 8082,
    host: '0.0.0.0',
    open: true,
  },
})
